package com.hcy.mqmodel.dto.request;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @Author huchenying
 * @Description
 * @Date 2022/3/15 16:22
 */
@Data
public class PushOrderRequestDTO implements Serializable {
    private static final long serialVersionUID = -6849794630754667710L;

    /**
     * orderNumber 订单流水号
     */
    @NotNull
    private String orderNumber;

    /**
     * Topic 消息主题
     */
    @NotNull
    private String Topic;

    /**
     * Tag 标签
     */
    private String[] tags;

    /**
     * 消息类型
     */
    private String type;

    /**
     * 延迟等级 1s 5s 10s 30s 1m 2m 3m 4m 5m 6m 7m 8m 9m 10m 20m 30m 1h 2h 1d 从1开始
     */
    private Integer level;
}
